/*
 * File Name : command_factory.h
 * Auther : dream.liuguobiao
 * Create Date : 2010-5-14
 * Last Edit : 2010-5-16
 */

#ifndef COMMAND_FACTORY_H
#define COMMAND_FACTORY_H

#include <string>
#include "command.h"

class command_factory
{
private:
  static command_factory *instance_command_factory;
  command_factory();

public:
  static command_factory *get_command_factory();
  command *get_command( std::string *command_name );
};

#endif
